package com.zhy.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @Author zhy
 * @Description \
 * @ClassName AccountDao
 * @Date 2021/1/8 13:40
 **/
@Mapper
public interface AccountDao {

    int decrease(@Param("userId")Long userId, @Param("money")BigDecimal money);

}
